package es.ise.core.aspects;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class Pointcuts
{
	@Pointcut("within(es.ise.core..*)")
	public void coreMethod() {}
	
	@Pointcut("execution(public * (@org.springframework.stereotype.Controller *).*(..))")
	public void controllerMethod() {}
	
	@Pointcut("execution(public * (@es.ise.core.stereotypes.AjaxController *).*(..))")
	public void ajaxControllerMethod() {}
	
	@Pointcut("@annotation(org.springframework.web.bind.annotation.RequestMapping)")
	public void requestMethod() {}
}
